<?php
defined('BY_JYA') or exit('error');
$list = array(
	array('title'=>'应用工具','list'=>array(
		array('name'=>'jy_textdiy_weishop','title'=>'商城系自定义文本','desc'=>'自定义一些个性文字'),
		array('name'=>'jy_lang_weishop','title'=>'商城多语言','desc'=>'实现外贸语言切换必备'),
		array('name'=>'jy_ccy_weishop','title'=>'商城多货币','desc'=>'自由切换前端货币显示'),
		array('name'=>'jy_chatgpt','title'=>'chatGPT聊天AI/图灵机器人','desc'=>'多种聊天机器人','icon'=>'',),
		array('name'=>'jy_tyeid','title'=>'天眼数聚身份证实名接口','desc'=>'身份证实名接口','icon'=>'',),
		array('name'=>'jy_txfaceid','title'=>'腾讯身份证二要素','desc'=>'身份证实名接口','icon'=>'',),
	)),
	array('title'=>'特色-购物','list'=>array(
		array('name'=>'jy_carfee','title'=>'汽车分润系统','desc'=>'汽车指标新销售模式','icon'=>'',),
		array('name'=>'jy_aliisv','title'=>'支付宝ISV返佣激励接口','desc'=>'开小程序也能赚钱','icon'=>'',),
		array('name'=>'jy_area9fee','title'=>'九星区域分销代理','desc'=>'分销新概念模式','icon'=>'',),
							array('name'=>'jy_cashier','title'=>'收银台','desc'=>'线上线下收银','icon'=>'',),
							array('name'=>'jy_weishop','title'=>'多门店','desc'=>'街道多个门店,便利店超市','image'=>'../addons/jy_weishop/images/icon_store.jpg','actionurl'=>'jy_weishop/store.count/'),
							array('name'=>'jy_commission','title'=>'微客分销','desc'=>'全民微客人人分销','icon'=>'',),
							array('name'=>'jy_twojifee','title'=>'二级联动分销','desc'=>'股东分红平级分红暂扣佣金','icon'=>'',),
							array('name'=>'jy_twojiup','title'=>'美丽天天秒','desc'=>'比较复利的模式','icon'=>'',),
							array('name'=>'jy_team2fee','title'=>'店主美丽天天秒分销','desc'=>'门店补贴+复利模式','icon'=>'',),
							array('name'=>'jy_merch2fee','title'=>'独立多商户出局分销','desc'=>'另一种比较复利的模式','icon'=>'',),
							array('name'=>'jy_levelfee','title'=>'复购等级分销','desc'=>'自定义等级复购分销机制','icon'=>'',),
							array('name'=>'jy_taobaoke','title'=>'淘宝客','desc'=>'淘宝流量分销','icon'=>'',),
							array('name'=>'jy_jdk','title'=>'京东客','desc'=>'京东流量分销','icon'=>'',),
							array('name'=>'jy_pddke','title'=>'拼多多客','desc'=>'拼多多流量分销','icon'=>'',),
							array('name'=>'jy_weishopke','title'=>'全佣返电商客','desc'=>'集合主流电商客','icon'=>'',),
							array('name'=>'jy_merch','title'=>'多商户','desc'=>'多商户,多商家开店','icon'=>'',),
							array('name'=>'jy_supplier','title'=>'供货商','desc'=>'进货ERM,厂家供货','icon'=>'',),
							array('name'=>'jy_b2b','title'=>'B2B代销系统','desc'=>'独立商户小程序代销','icon'=>'',),
							array('name'=>'jy_teamfee','title'=>'社区团长极差分红','desc'=>'社区团长带团分红','icon'=>'',),
							array('name'=>'jy_tuanfee','title'=>'微团代理分红','desc'=>'微团(极差)带团分红','icon'=>'',),
							array('name'=>'jy_area_fee','title'=>'安利经销代理商','desc'=>'安利不同等级供货分销机制','icon'=>'',),
							array('name'=>'jy_paiweifee','title'=>'排位轮次分销玩法 ','desc'=>'另类可排位轮次的分销','icon'=>'',),
							array('name'=>'jy_newganfee','title'=>'新概念感恩极消分红 ','desc'=>'收入感恩，贡献新分销','icon'=>'',),
							array('name'=>'jy_newpingfee','title'=>'新概念拼团级销版 ','desc'=>'拼团下单自动排位','icon'=>'',),
							array('name'=>'jy_bufee','title'=>'代理补位分销','desc'=>'另类可补位的分销','icon'=>'',),
							array('name'=>'jy_feewu','title'=>'无极乾坤分销','desc'=>'另类友好首级的分销','icon'=>'',),
                            array('name'=>'jy_baojfee','title'=>'保健品新概念分红','desc'=>'领导奖，分权分红','icon'=>'',),
							array('name'=>'jy_area_agent','title'=>'经销商','desc'=>'区域代理商经销商','icon'=>'',),
							array('name'=>'jy_area_dian','title'=>'自提点加盟分销','desc'=>'目前主流的自提点加盟模式','icon'=>'',),
							array('name'=>'jy_creditshop','title'=>'积分商城','desc'=>'让积分产生二次消费','icon'=>'',),
							array('name'=>'jy_creditchange','title'=>'虚拟币转让市场','desc'=>'转让,竞价,回购一条龙','icon'=>'',),
							array('name'=>'jy_xunichong','title'=>'虚拟币充值','desc'=>'虚拟币线上线下充值','icon'=>'',),
							array('name'=>'jy_wxappjiaoyi','title'=>'小程序(自定义交易组件)','desc'=>'商品同步到小店/短视频','icon'=>'',),
							array('name'=>'jy_wxappjiaoyib','title'=>'小程序(标准版交易组件)','desc'=>'无需开通支付小店/短视频卖货','icon'=>'',),
							array('name'=>'jy_globonus','title'=>'全民股东','desc'=>'股东形式运营店铺','icon'=>'',),
							array('name'=>'jy_exchange','title'=>'兑换中心','desc'=>'各种兑换交换中心','icon'=>'',),
			)),
			array('title'=>'活动-购物','list'=>array(
							array('name'=>'jy_weishopapplive','title'=>'全民分销直播客','desc'=>'全民做主播带货','icon'=>''),
							array('name'=>'jy_douyintui','title'=>'抖音霸屏','desc'=>'完美匹配电商客的抖音营销','icon'=>'',),
							array('name'=>'jy_weishoplive','title'=>'互动直播','desc'=>'主播发红包,券','icon'=>''),
							array('name'=>'jy_weishop','title'=>'小程序直播','desc'=>'自主开播,无需第三方','image'=>'../addons/jy_weishop/images/icon_store.jpg','actionurl'=>'jy_weishop/activity.live.index/'),
							array('name'=>'jy_weishop','title'=>'今日运势','desc'=>'借势购物,魔性流量','image'=>'../addons/jy_weishop/images/icon_yunshi.jpg','actionurl'=>'jy_weishop/activity.sales.luck/'),
							array('name'=>'jy_weishop','title'=>'今日特价','desc'=>'经典日新,线下原型','image'=>'../addons/jy_weishop/images/icon_tejia.jpg','actionurl'=>'jy_weishop/activity.sales.offer/'),
							array('name'=>'jy_weishop','title'=>'今日省钱','desc'=>'快消品,必备502胶水','image'=>'../addons/jy_weishop/images/icon_sheng.jpg','actionurl'=>'jy_weishop/activity.sales.feemoney/'),
							array('name'=>'jy_weishop','title'=>'互动游戏','desc'=>'游戏营销,海量扩展','image'=>'../addons/jy_weishop/images/icon_game.jpg','actionurl'=>'jy_weishop/game.list/'),
							array('name'=>'jy_jianghu','title'=>'笑傲江湖','desc'=>'闯江湖，赚积分','icon'=>'',),
							array('name'=>'jy_seckill','title'=>'整点秒杀','desc'=>'定时秒杀，刺激活跃','icon'=>'',),
							array('name'=>'jy_yushou','title'=>'整点预售','desc'=>'定时预售，独立发货','icon'=>'',),
							array('name'=>'jy_bargain','title'=>'砍价活动','desc'=>'大家一起来砍价','icon'=>'',),
							array('name'=>'jy_vote','title'=>'买家秀','desc'=>'买家秀,买家秀必备神器','icon'=>'',),
							array('name'=>'jy_weishop_cutprice','title'=>'降价拍','desc'=>'降价就买，不一样的下单','icon'=>'',),
							array('name'=>'jy_zhongchou','title'=>'微众筹','desc'=>'产品项目众筹推广品牌','icon'=>'',),
							array('name'=>'jy_yousetli','title'=>'优惠接力','desc'=>'将优惠传递下去','icon'=>'',),
							array('name'=>'jy_weishop','title'=>'预售','desc'=>'先预订，后消费','image'=>'../addons/jy_weishop/images/icon_yusou.jpg','actionurl'=>'jy_weishop/activity.presell.list/'),
							array('name'=>'jy_weishop','title'=>'预约核销','desc'=>'线上预约，线下消费','image'=>'../addons/jy_weishop/images/icon_hexiao.jpg','actionurl'=>'jy_weishop/store.verifylog/'),
							array('name'=>'jy_poster','title'=>'超级海报','desc'=>'用海报的形式宣传','icon'=>'',),
							array('name'=>'jy_invitation','title'=>'邀请卡','desc'=>'发个邀请卡给你朋友','icon'=>'',),
							array('name'=>'jy_renwu','title'=>'任务大厅','desc'=>'用任务的形式激活市场','icon'=>'',),
							array('name'=>'jy_inclock','title'=>'打卡任务','desc'=>'随时随地打卡任务','icon'=>'',),
							array('name'=>'jy_sendgoods','title'=>'优品送礼','desc'=>'实现线上送礼功能','icon'=>'',),
							array('name'=>'jy_weishoppension','title'=>'商城养老金','desc'=>'自购商品订单，享有养老金','icon'=>'',),
							array('name'=>'jy_giftbao','title'=>'购物送礼包/权益包','desc'=>'实现线上购物送礼包/权益包','icon'=>'',),
			)),
			array('title'=>'商城-工具','list'=>array(
							array('name'=>'jy_merch','title'=>'掌上商家','desc'=>'商家手机打理店铺','icon'=>'',),
							array('name'=>'jy_peisong','title'=>'掌上配送员','desc'=>'配送员手机管理配送（平台，第三方接口）','icon'=>'',),
							array('name'=>'jy_shifu','title'=>'掌上师傅(技师)系统','desc'=>'售后/维修师傅后台','icon'=>'',),
							array('name'=>'jy_shouhou','title'=>'售后上门服务','desc'=>'电器家电上门售后','icon'=>'',),
							array('name'=>'jy_sign','title'=>'积分签到','desc'=>'签到享积分','icon'=>'',),
							array('name'=>'jy_live','title'=>'网络监控','desc'=>'商品实时直播监控','icon'=>'',),
							array('name'=>'jy_messages','title'=>'消息营销','desc'=>'消息营销，刺激二次消费','icon'=>'',),
							array('name'=>'jy_polyapi','title'=>'进销存','desc'=>'一款第三方进销管理软件','icon'=>'',),
							array('name'=>'jy_xyb2b','title'=>'行云供应链接口','desc'=>'外贸供应发货接口','icon'=>'',),
							array('name'=>'jy_fahuo','title'=>'快递电子面单发货','desc'=>'基于菜鸟物流LINK的api接口，实现免费一键发货','icon'=>'',),
							array('name'=>'jy_shopwms','title'=>'电商客门店仓库WMS','desc'=>'门店仓库WMS出库入库','icon'=>'',),
							array('name'=>'jy_depot','title'=>'仓库管理','desc'=>'一款管理商品入库，出库的插件','icon'=>'',),
							array('name'=>'jy_hwq','title'=>'好物圈','desc'=>'一键推送商品到微信好物圈','icon'=>'',),
							array('name'=>'jy_kefu','title'=>'全网客服','desc'=>'7种客服方式选择','icon'=>'',),
							array('name'=>'jy_order_ping','title'=>'订单大屏轮播展示','desc'=>'滚动展示实时订单情况','icon'=>'',),
							array('name'=>'jy_echarts','title'=>'大数据可视化屏幕','desc'=>'大屏幕，科技感十足','icon'=>'',),
							array('name'=>'jy_offlineapi','title'=>'电商客线下门店接口','desc'=>'线下会员卡对接接口','icon'=>'',),
							array('name'=>'jy_zxpay','title'=>'知校代扣接口','desc'=>'对接知校代扣,内环消费','icon'=>'',),
							array('name'=>'jy_jifee','title'=>'合伙共享记账','desc'=>'老板自己的合伙记账程序','icon'=>'',),
							array('name'=>'jy_daikuan','title'=>'信用贷款申请平台','desc'=>'贷款申请平台系统','icon'=>'',),
							array('name'=>'jy_aiaddress','title'=>'百度AI地址识别','desc'=>'支持下单地址一键解析地址','icon'=>'',),
			)),
			array('title'=>'商城-拓展','list'=>array(
							array('name'=>'jy_weishop_wxapp','title'=>'微信小程序','desc'=>'小程序有大流量','icon'=>'','actionurl'=>'core/wxapp.multiple/list/op=list&basicname=jy_weishop'),
							array('name'=>'jy_weishop_aliapp','title'=>'支付宝小程序','desc'=>'海量淘宝天猫市场','icon'=>'','actionurl'=>'core/aliapp.list/list/op=list&basicname=jy_weishop'),
							array('name'=>'jy_diyform','title'=>'自定义表单','desc'=>'设计个性表单','icon'=>'',),
							//array('name'=>'jy_exhelper','title'=>'快递助手','desc'=>'快递管理，一键发货','icon'=>''),
							array('name'=>'jy_tbassistant','title'=>'淘宝助手','desc'=>'海里商品，一键导入','icon'=>'',),
							array('name'=>'jy_diypage','title'=>'店铺装修','desc'=>'动动鼠标搭建个性店铺','icon'=>'',),
							array('name'=>'jy_weishop','title'=>'帮助中心','desc'=>'解决常规问题，节约客服','image'=>'../addons/jy_weishop/images/icon_store.jpg','actionurl'=>'jy_weishop/news.index/'),
							array('name'=>'jy_quntui','title'=>'微群推广加群','desc'=>'动动手指，群分分钟加满','icon'=>'',),
							array('name'=>'jy_onlineedu','title'=>'微商学院','desc'=>'微商教学体系,收费教学两不误','icon'=>'',),
							array('name'=>'jy_weishopniu','title'=>'电商客千牛','desc'=>'专注电商客商品批量操作','icon'=>'',),
                            array('name'=>'jy_tyeid','title'=>'身份证实名接口','desc'=>'天眼数聚身份证实名接口','icon'=>''),
			)),
			array('title'=>'商城-游戏','list'=>array(
							array('name'=>'jy_bigwheel','title'=>'大转盘','desc'=>'随时随地，大转盘','icon'=>''),
							array('name'=>'jy_red_rain','title'=>'红包雨','desc'=>'随时随地，触发红包雨','icon'=>''),
							array('name'=>'jy_red_pin','title'=>'拼红包','desc'=>'随时随地，拼红包','icon'=>''),
			)),
);
//判断是否基本设置了
$inplugins=array();
$noplugins=array();
foreach($list as $k=>&$type){
		foreach($type['list'] as $i=>&$p){
			$install = check_permission($p['name']);
			$plugin=pdo_get('core_plugins',array('name'=>$p['name']),array('title','image','hide'));
			if($plugin['hide']){
				unset($type['list'][$i]);
			}
			if($install){
				$p['title']=$p['name']!='jy_weishop' && $plugin['title']?$plugin['title']:$p['title'];
				$p['image']=$p['image']?:$plugin['image'];
				$p['is_install'] = 1;
				$p['is_show'] = 1;
			}else{
				$noplugins[]=$p['name'];
				//unset($type['list'][$i]);
				$p['is_install'] = 0;
				$p['is_show'] = 0;
				if($_SESSION['isfounder']){
					$p['is_show'] = 1;
				}
			}
		}
}
return  $list;
?>